package com.example.hotelsystem.mapper;

import com.example.hotelsystem.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lee
 * @since 2020-10-13
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select count(*) from user where create_time > #{datetime}")
    public Long NewAddUser(String datetime);

}
